# Copyright (c) 2022, hzmes and contributors
# For license information, please see license.txt

import frappe
from frappe.model.document import Document

class SRMPurchaseOrderChange(Document):
	def autoname(self):
		if self.erp_billno:
			self.name = self.erp_billno
